Corrective feedback loop for automated speech recognition

ABSTRACT

A method for facilitating the updating of a language model includes receiving, at a client device, via a microphone, an audio message corresponding to speech of a user; communicating the audio message to a first remote server; receiving, that the client device, a result, transcribed at the first remote server using an automatic speech recognition system (“ASR”), from the audio message; receiving, at the client device from the user, an affirmation of the result; storing, at the client device, the result in association with an identifier corresponding to the audio message; and communicating, to a second remote server, the stored result together with the identifier.

I. CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.13/621,189, filed Sep. 15, 2012, which published as U.S. PatentPublication No. 2013/0024195 on Jan. 24, 2013, and is a continuation ofU.S. patent application Ser. No. 12/407,502, filed Mar. 19, 2009, whichissued as U.S. Pat. No. 8,352,264 on Jan. 8, 2013. U.S. patentapplication Ser. No. 12/407,502 is a nonprovisional application of, andclaims priority under 35 U.S.C. §119(e) to, each of the following:

-   (1) U.S. provisional patent application Ser. No. 61/038,048, filed    Mar. 19, 2008 and titled “CORRECTIVE FEEDBACK LOOP FOR AUTOMATED    SPEECH RECOGNITION;” and-   (2) U.S. provisional patent application Ser. No. 61/041,219, filed    Mar. 31, 2008 and titled “USE OF METADATA TO POST PROCESS SPEECH    RECOGNITION OUTPUT.”    Each of the foregoing applications from which priority is claimed is    hereby incorporated herein by reference in its entirety.

Additionally, U.S. nonprovisional patent application Ser. No.11/697,074, filed Apr. 5, 2007 and published as U.S. Patent ApplicationPublication No. US 2007/0239837, is incorporated herein by reference,and each of the following patent applications, and any correspondingpatent application publications thereof, are incorporated herein byreference:

-   (1) U.S. nonprovisional patent application Ser. No. 12/197,213,    filed Aug. 22, 2008 and titled “CONTINUOUS SPEECH TRANSCRIPTION    PERFORMANCE INDICATION;”-   (2) U.S. nonprovisional patent application Ser. No. 12/197,227,    filed Aug. 22, 2008 and titled “TRANSCRIBING AND MATCHING MOBILE    DEVICE UTTERANCES TO KEYWORDS TAKEN FROM MOBILE DEVICE MESSAGES AND    ASSOCIATED WITH WEB ADDRESSES;”-   (3) U.S. provisional patent application 61/091,330, filed Aug. 22,    2008 and titled “METHODS, APPARATUSES, AND SYSTEMS FOR PROVIDING    TIMELY USER CUES PERTAINING TO SPEECH RECOGNITION;”-   (4) U.S. nonprovisional patent application Ser. No. 12/198,112,    filed Aug. 25, 2008 and titled “FILTERING TRANSCRIPTIONS OF    UTTERANCES;”-   (5) U.S. nonprovisional patent application Ser. No. 12/198,116,    filed Aug. 25, 2008 and titled “FACILITATING PRESENTATION BY MOBILE    DEVICE OF ADDITIONAL CONTENT FOR A WORD OR PHRASE UPON UTTERANCE    THEREOF;”-   (6) U.S. nonprovisional patent application Ser. No. 12/212,644,    filed Sep. 17, 2008 and titled “METHODS AND SYSTEMS FOR DYNAMICALLY    UPDATING WEB SERVICE PROFILE INFORMATION BY PARSING TRANSCRIBED    MESSAGE STRINGS;”-   (7) U.S. nonprovisional patent application Ser. No. 12/212,645,    filed Sep. 17, 2008 and titled “FACILITATING PRESENTATION OF ADS    RELATING TO WORDS OF A MESSAGE;” and-   (8) U.S. nonprovisional patent application Ser. No. 12/344,313,    filed Dec. 26, 2008 and titled “VALIDATION OF MOBILE ADVERTISING    FROM DERIVED INFORMATION.”-   (9) U.S. nonprovisional patent application Ser. No. 12/355,319,    filed Jan. 16, 2009 and titled “USING A PHYSICAL PHENOMENON DETECTOR    TO CONTROL OPERATION OF A SPEECH RECOGNITION ENGINE.”-   (10) U.S. nonprovisional patent application Ser. No. 12/400,723,    filed Mar. 9, 2009 and titled “USE OF INTERMEDIATE SPEECH    TRANSCRIPTION RESULTS IN EDITING FINAL SPEECH TRANSCRIPTION    RESULTS.”

Finally, the disclosure of provisional application 60/789,837 iscontained in Appendix A attached hereto and, likewise, is incorporatedherein in its entirety by reference and is intended to providebackground and technical information with regard to the systems andenvironments of the inventions of the current provisional patentapplication. Similarly, the disclosure of the brochure of Appendix B isincorporated herein in its entirety by reference.

II. COPYRIGHT STATEMENT

All of the material in this patent document is subject to copyrightprotection under the copyright laws of the United States and of othercountries. The copyright owner has no objection to the facsimilereproduction by anyone of the patent document or the patent disclosure,as it appears in the governmental files or records, but otherwisereserves all copyright rights whatsoever.

III. COMPUTER PROGRAM LISTING

Submitted concurrently herewith via the USPTO's electronic filingsystem, and incorporated herein by reference, is a computer programlisting illustrating instructions, routines, and/or other contents of acomputer program. The computer program listing is for 1 computer file(s)that represents an embodiment of the invention. The computer programlisting includes file “source2.txt”, created at 11:24:55 PM, Mar. 19,2008, last modified at 11:24:56 PM, Mar. 19, 2008, having a file size of5,913 bytes and a file size on the disk of 8,192 bytes. The computerprogram listing includes source code written in J2ME. The targethardware for this implementation is any hardware profile that canutilize an HTTP, HTTPS, or UDP protocol, or else has its owncommunication protocol.

IV. BACKGROUND OF THE PRESENT INVENTION

Automatic Speech Recognition (“ASR”) systems are designed to convert anaudio message containing speech into text. Recognition accuracy for aparticular utterance can vary based on many factors including the audiofidelity of the recorded speech, correctness of the speaker'spronunciation, and the like. These factors contribute to continuouslyvarying levels of recognition accuracy which can result in severalpossible transcriptions for a particular utterance.

Language models (“LMs”), which may include hierarchical language models(“HLMs”), statistical language models (“SLMs”), grammars, and the like,assign probabilities to a sequence of words by means of a probabilitydistribution and try to capture the properties of a language so as topredict the next word in a speech sequence. They are used in conjunctionwith acoustic models (“AMs”) to convert dictated words to transcribedtext. The current state of the art with regard to both creating andupdating AMs and LMs requires speech scientists to manually processhundreds to thousands of hours of spoken phrases or words to build AMand LM databases containing phonemes, all of the possible words within aspoken language, and their statistical interrelationships. ASR enginesthen compare an audio fingerprint against the AMs and LMs with the goalof obtaining a statistically significant match of the spoken audio toits textual representation. There is great expense in this process sincea great deal of engineering time is required to generate and update AMsand LMs as languages continue to evolve and new words are continuallycoined and used in common lexicon.

Thus, a need exists for an automated, less labor intensive approach forgenerating and updating LMs for use in ASR systems.

V. SUMMARY OF THE PRESENT INVENTION

The present invention comprises an approach that simplifies the methodby which LMs can be updated by putting the burden of updating LMs on theindividual commercial users of the speech recognition platforms as theyinteract with a mobile client or web interface. As users interact withsaid mobile clients and web interfaces, they will see the results oftheir audio input returned as transcribed text. Any words that couldhave statistically been similar to other possibilities for that spokenword will appear highlighted and contain an n-best drop down list, forexample. The user can then correct the phrase by choosing the intendedword in the drop down list, manually editing and replacing the n-bestresults with the actual word, or speaking the correct form of the wordagain and performing another speech recognition query to generate thecorrect form of the word. Even without an n-best result, the user couldstill update or revise a given word. Once the original transcribedmessage is corrected, the user can then send the message for delivery tothe intended recipient. In the use cases of a transcribed memo orvoicemail, the corrected result is fed back into the speech recognitionplatform to modify core, application, or user centric models.

The corrected results are then either cached in the mobile client forupload to the ASR platform in a subsequent speech recognitiontransaction, thereby optimizing battery performance, or are sent back tothe platform immediately once the user sends the message for delivery.Immediate delivery of the corrected form of the transaction occurs whenthe user is interacting with a web interface because small clientbattery performance would not be a concern. Once the corrected result isreturned to the user, the corrected result is paired with the originaloutgoing result, and the LM is updated giving the correction a higherstatistical probability than initially generated so that future querieswill have a higher likelihood of generating the correct textualrepresentation of the spoken word.

The present invention according to one aspect relates to a method forfacilitating the updating of a language model, including receiving, at aclient device, via a microphone, an audio message corresponding tospeech of a user; communicating, to a first remote server, the audiomessage; receiving, at the client device, a result, transcribed at thefirst remote server using an automatic speech recognition system (ASR),from the audio message; receiving, at the client device from the user,an affirmation of the result; storing, at the client device, the resultin association with an identifier corresponding to the audio message;and communicating, to a second remote server, the stored result togetherwith the identifier.

In a feature of this aspect, the method further includes, subsequent tosaid step of communicating the stored result to the second remoteserver, updating, using the stored result and the identifier, a languagemodel. In another feature of this aspect, the first remote server andthe second remote server are the same remote server. In another featureof this aspect, the step of storing, at the client device, the resultand identifier includes storing, at the client device, the result andidentifier as a data stream. In yet another feature of this aspect, thestep of communicating the stored result to the second remote servercomprises communicating the data stream to the second remote server. Ina further feature of this aspect, the identifier corresponding to theaudio message includes the audio message. In still another feature ofthis aspect, the identifier corresponding to the audio message isconfigured to allow the remote server to locate the original audiostream. In another feature, the identifier includes a reference thatallows the remote server to locate the audio message.

In still another feature, the method further has transcribing, at thefirst remote server using an automatic speech recognition system (ASR),a result from the audio message. In yet another feature of this aspect,the step of receiving, at the client device, a result comprisesreceiving, at the client device, a result and alternative result matrixtranscribed, at the first remote server using an automatic speechrecognition system (ASR), from the audio message. In a further featureof this aspect, the step of communicating, to the second remote server,the stored result together with the identifier comprises waiting, tocommunicate the stored result to the second remote server, until thenext time the client device contacts the second remote server. Inanother feature of this aspect, the step of communicating, to the secondremote server, the stored result together with the identifier compriseswaiting for user instruction to communicate the stored result to thesecond remote server. In a further feature of this aspect, the step ofcommunicating, to the second remote server, the stored result togetherwith the identifier includes waiting, for an API call, to communicatethe stored result to the second remote server.

The present invention according to another aspect relates to a methodfor facilitating the updating of a language model, including receiving,at a client device, via a microphone, an audio message corresponding tospeech of a user; communicating, to a first remote server, the audiomessage; receiving, at the client device, a result and alternativeresult matrix transcribed, at the first remote server using an automaticspeech recognition system (ASR), from the audio message; receiving, atthe client device from the user, a manual correction of the result;storing, at the client device, the corrected result in association withan identifier corresponding to the audio message; and communicating, toa second remote server, the stored result together with the identifier.

In a feature of this aspect of the present invention, the step ofreceiving, at the client device, a manual correction includes receiving,at the client device, an affirmation of an alternative fragment resultof the alternative result matrix. In another feature of this aspect, thestep of receiving, at the client device, a manual correction includesreceiving, at the client device, text input manually by the user using akeypad. In still another feature of this aspect, the step of receiving,at the client device, a manual correction includes receiving, at theclient device, text input manually by the user using a touchscreen. Inyet another feature of this aspect of the present invention, theidentifier corresponding to the audio message comprises the audiomessage. In still a further feature of this aspect, the identifiercorresponding to the audio message is configured to allow the remoteserver to locate the original audio message.

The present invention according to another aspect relates to a methodfor facilitating the updating of a language model, including receiving,at a client device, via a microphone, a first audio messagecorresponding to speech of a user; communicating, to a first remoteserver, the first audio message; receiving, at the client device, afirst result, transcribed at the first remote server using an automaticspeech recognition system (ASR), from the first audio message;receiving, at the client device from the user, a disapproval of thefirst result; receiving, at a client device, via a microphone, a secondaudio message corresponding to speech of the user; communicating, to thefirst remote server, the second audio message; receiving, at the clientdevice, a result, transcribed at the first remote server using anautomatic speech recognition system (ASR), from the second audiomessage; receiving, at the client device from the user, an affirmationof the second result; storing, at the client device, the second resultin association with an identifier corresponding to the audio message;and communicating, to a second remote server, the stored result togetherwith the identifier.

The present invention according to one aspect relates to a method forgathering data, including the step of returning a data stream from aclient device to a remote server; wherein the data stream includes anaffirmed text string previously transcribed from an audio stream viavoice recognition software into a result; which result was then eitheraffirmed by a user, or else corrected and then affirmed by a user; andwherein the data stream further includes an audio identifier.

In a feature of this aspect, the result includes a text stringrepresenting the most likely transcription of the audio stream. Inanother feature of this aspect, the result includes a matrix or set ofmatrices of possible transcription alternatives. In another feature ofthis aspect, the result includes both a text string representing themost likely transcription of the audio stream, and a matrix or set ofmatrices of possible transcription alternatives.

In a feature of this aspect, the audio identifier includes the entireprior audio stream that was transcribed. In another feature of thisaspect, the audio identifier includes a portion of the prior audiostream that was transcribed. In another feature of this aspect, theaudio identifier includes a reference that allows the remote server tolocate the original audio stream. In another feature of this aspect, theaudio identifier includes a reference that allows the remote server tolocate a portion of the original audio stream. In another feature ofthis aspect, the audio identifier includes a reference that allows theremote server to locate information regarding the transcription of theoriginal audio stream.

In a feature of this aspect, the data stream is transmitted via theworld wide web. In a feature of this aspect, the data stream istransmitted via the internet. In a feature of this aspect, the datastream is transmitted via an intranet. In a feature of this aspect, thedata stream is transmitted via conventional telephone lines. In afeature of this aspect, the data stream is transmitted wirelessly. In afeature of this aspect, the data stream is transmitted via acommunication service provider of the client and/or the internet.

In a feature of this aspect, the client-server communication protocol isHTTP. In a feature of this aspect, the client-server communicationprotocol is HTTPS. Alternatively, in a feature of this aspect, theclient-server communication uses direct socket connections via UDP.

In a feature of this aspect, the client device has a microphone, aspeaker, and a display. In a feature of this aspect, the client deviceincludes a keypad having a plurality of buttons. In a feature of thisaspect, the client device is a cell phone. In a feature of this aspect,the client device is a PDA. In a feature of this aspect, the clientdevice is a laptop computer. In a feature of this aspect, the clientdevice is a desktop computer. In a feature of this aspect, the clientdevice is an IP phone.

In a feature of this aspect, the method further includes the step ofusing the audio identifier and the affirmed text string to update theintelligence and accuracy of voice recognition software. In a feature ofthis aspect, the method further includes the step of saving the audioidentifier and the affirmed text string for later use in updating voicerecognition software. In a feature of this aspect, the method furtherincludes the steps of determining whether or not the audio identifierincludes the complete audio stream, locating the complete audio stringusing the audio identifier if it does not, and saving the audio streamand the affirmed text string for later use in updating voice recognitionsoftware.

In a feature of this aspect, the step of returning a data stream fromthe client device to the remote server is delayed until the next timethe client device contacts the remote server with a transcriptionrequest. In a feature of this aspect, the step of returning a datastream from the client device to a remote server occurs as soon as thedata stream is prepared.

The present invention according to another aspect relates to a methodfor returning data to a remote server, including the step of returning adata stream from a client device to a remote server; wherein the datastream includes an affirmed text string previously transcribed from anaudio stream via voice recognition software into a result; which resultwas then either affirmed by a user, or else corrected and then affirmedby a user; and wherein the data stream further includes an audioidentifier.

In a feature of this aspect, the result includes a text stringrepresenting the most likely transcription of the audio stream. Inanother feature of this aspect, the result includes a matrix or set ofmatrices of possible transcription alternatives. In another feature ofthis aspect, the result includes both a text string representing themost likely transcription of the audio stream, and a matrix or set ofmatrices of possible transcription alternatives.

In a feature of this aspect, the audio identifier includes the entireprior audio stream that was transcribed. In another feature of thisaspect, the audio identifier includes a portion of the prior audiostream that was transcribed. In another feature of this aspect, theaudio identifier includes a reference that allows the remote server tolocate the original audio stream. In another feature of this aspect, theaudio identifier includes a reference that allows the remote server tolocate a portion of the original audio stream. In another feature ofthis aspect, the audio identifier includes a reference that allows theremote server to locate information regarding the transcription of theoriginal audio stream.

In a feature of this aspect, the data stream is transmitted via theworld wide web. In a feature of this aspect, the data stream istransmitted via the internet. In a feature of this aspect, the datastream is transmitted via an intranet. In a feature of this aspect, thedata stream is transmitted via conventional telephone lines. In afeature of this aspect, the data stream is transmitted wirelessly. In afeature of this aspect, the data stream is transmitted via acommunication service provider of the client and/or the internet.

In a feature of this aspect, the client-server communication protocol isHTTP. In a feature of this aspect, the client-server communicationprotocol is HTTPS. Alternatively, in a feature of this aspect, theclient-server communication uses direct socket connections via UDP.

In a feature of this aspect, the client device has a microphone, aspeaker, and a display. In a feature of this aspect, the client deviceincludes a keypad having a plurality of buttons. In a feature of thisaspect, the client device is a cell phone. In a feature of this aspect,the client device is a PDA. In a feature of this aspect, the clientdevice is a laptop computer. In a feature of this aspect, the clientdevice is a desktop computer. In a feature of this aspect, the clientdevice is an IP phone.

In a feature of this aspect, the method further includes the step ofusing the audio identifier and the affirmed text string to update theintelligence and accuracy of voice recognition software. In a feature ofthis aspect, the method further includes the step of saving the audioidentifier and the affirmed text string for later use in updating voicerecognition software. In a feature of this aspect, the method furtherincludes the steps of determining whether or not the audio identifierincludes the complete audio stream, locating the complete audio stringusing the audio identifier if it does not, and saving the audio streamand the affirmed text string for later use in updating voice recognitionsoftware.

In a feature of this aspect, the step of returning a data stream fromthe client device to the remote server is delayed until the next timethe client device contacts the remote server with a transcriptionrequest. In a feature of this aspect, the step of returning a datastream from the client device to a remote server occurs as soon as thedata stream is prepared.

The present invention according to another aspect relates to a system ofreturning data to a remote server, comprising a client device withcomputer readable instructions stored in memory; the instructionsincluding an instruction to return a data stream to a remote server;wherein the data stream includes an affirmed text string previouslytranscribed from an audio stream via voice recognition software into aresult; which result was then either affirmed by a user, or elsecorrected and then affirmed by a user; and wherein the data streamfurther includes an audio identifier.

In a feature of this aspect, the result includes a text stringrepresenting the most likely transcription of the audio stream. Inanother feature of this aspect, the result includes a matrix or set ofmatrices of possible transcription alternatives. In another feature ofthis aspect, the result includes both a text string representing themost likely transcription of the audio stream, and a matrix or set ofmatrices of possible transcription alternatives.

In a feature of this aspect, the audio identifier includes the entireaudio stream that was previously transcribed. In another feature of thisaspect, the audio identifier includes a portion of the audio stream thatwas previously transcribed. In another feature of this aspect, the audioidentifier includes a reference that allows the remote server to locatethe original audio stream. In another feature of this aspect, the audioidentifier includes a reference that allows the remote server to locatea portion of the original audio stream. In another feature of thisaspect, the audio identifier includes a reference that allows the remoteserver to locate information regarding the transcription of the originalaudio stream.

In a feature of this aspect, the data stream is transmitted via theworld wide web. In a feature of this aspect, the data stream istransmitted via the internet. In a feature of this aspect, the datastream is transmitted via an intranet. In a feature of this aspect, thedata stream is transmitted via conventional telephone lines. In afeature of this aspect, the data stream is transmitted wirelessly. In afeature of this aspect, the data stream is transmitted via acommunication service provider of the client and/or the internet.

In a feature of this aspect, the client-server communication protocol isHTTP. In a feature of this aspect, the client-server communicationprotocol is HTTPS. Alternatively, in a feature of this aspect, theclient-server communication uses direct socket connections via UDP.

In a feature of this aspect, the client device has a microphone, aspeaker, and a display. In a feature of this aspect, the client deviceincludes a keypad having a plurality of buttons. In a feature of thisaspect, the client device is a cell phone. In a feature of this aspect,the client device is a PDA. In a feature of this aspect, the clientdevice is a laptop computer. In a feature of this aspect, the clientdevice is a desktop computer. In a feature of this aspect, the clientdevice is an IP phone.

In a feature of this aspect, the instructions further include aninstruction not to return the data stream to the remote server untilanother transcription request is initiated. In another feature of thisaspect, the instructions further include an instruction to return thedata stream to the remote server as soon as the data stream is prepared.

The present invention according to another aspect relates to a system ofgathering data, comprising a remote server with computer readableinstructions stored in memory; the instructions including an instructionto await a data stream from at least one client device; wherein the datastream includes an affirmed text string previously transcribed from anaudio stream via voice recognition software into a result; which resultwas then either affirmed by a user, or else corrected and then affirmedby a user; and wherein the data stream further includes an audioidentifier.

In a feature of this aspect, the result includes a text stringrepresenting the most likely transcription of the audio stream. Inanother feature of this aspect, the result includes a matrix or set ofmatrices of possible transcription alternatives. In another feature ofthis aspect, the result includes both a text string representing themost likely transcription of the audio stream, and a matrix or set ofmatrices of possible transcription alternatives.

In a feature of this aspect, the audio identifier includes the entireaudio stream that was previously transcribed. In another feature of thisaspect, the audio identifier includes a portion of the audio stream thatwas previously transcribed. In another feature of this aspect, the audioidentifier includes a reference that allows the remote server to locatethe original audio stream. In another feature of this aspect, the audioidentifier includes a reference that allows the remote server to locatea portion of the original audio stream. In another feature of thisaspect, the audio identifier includes a reference that allows the remoteserver to locate information regarding the transcription of the originalaudio stream.

In a feature of this aspect, the data stream is transmitted via theworld wide web. In a feature of this aspect, the data stream istransmitted via the internet. In a feature of this aspect, the datastream is transmitted via an intranet. In a feature of this aspect, thedata stream is transmitted via conventional telephone lines. In afeature of this aspect, the data stream is transmitted wirelessly. In afeature of this aspect, the data stream is transmitted via acommunication service provider of the client and/or the internet.

In a feature of this aspect, the client-server communication protocol isHTTP. In a feature of this aspect, the client-server communicationprotocol is HTTPS. Alternatively, in a feature of this aspect, theclient-server communication uses direct socket connections via UDP.

In a feature of this aspect, the client device has a microphone, aspeaker, and a display. In a feature of this aspect, the client deviceincludes a keypad having a plurality of buttons. In a feature of thisaspect, the client device is a cell phone. In a feature of this aspect,the client device is a PDA. In a feature of this aspect, the clientdevice is a laptop computer. In a feature of this aspect, the clientdevice is a desktop computer. In a feature of this aspect, the clientdevice is an IP phone.

In a feature of this aspect, the instructions further include aninstruction to use the audio identifier and the affirmed text string toupdate the intelligence and accuracy of voice recognition software. In afeature of this aspect, the instructions further include an instructionto save the audio identifier and the affirmed text string for later usein updating voice recognition software. In a feature of this aspect, theinstructions further include an instruction to determine whether or notthe audio identifier includes the complete audio stream, locate thecomplete audio string using the audio identifier if it does not, andsave the audio stream and the affirmed text string for later use inupdating voice recognition software.

In a feature of this aspect, the instructions further include aninstruction not to return the data stream to the remote server untilanother transcription request is initiated. In another feature of thisaspect, the instructions further include an instruction to return thedata stream to the remote server as soon as the data stream is prepared.

Further areas of applicability of the present invention will becomeapparent from the detailed description provided hereinafter. It shouldbe understood that the detailed description and specific examples, whileindicating the preferred embodiment of the invention, are intended forpurposes of illustration only and are not intended to limit the scope ofthe invention.

VI. BRIEF DESCRIPTION OF THE DRAWINGS

Further aspects, features, embodiments, and advantages of the presentinvention will become apparent from the following detailed descriptionwith reference to the drawings, wherein:

FIG. 1 is a block diagram of a communication system in accordance with apreferred embodiment of the present invention;

FIG. 2 is a block diagram of a communication system in accordance withanother preferred embodiment of the present invention;

FIG. 3 is a block diagram illustrating communications between two usersvia a portion of the communication system of FIG. 1;

FIG. 4 is a block diagram of an exemplary implementation of the systemof FIG. 1;

FIG. 5 is a table listing various possible transcription results foreach fragment or portion of the utterance;

FIGS. 6A-6E are graphical depictions, on a transmitting device, of thetranscription of the utterance of FIG. 3, illustrating the selection andreplacement of one of the fragment results reached by the ASR engine forone portion of the utterance;

FIG. 7 is a graphical depiction, on a transmitting device, of thetranscription of the utterance of FIG. 3, illustrating the variousalternatives reached by the ASR engine for each portion of theutterance;

FIG. 8 is a high-level flowchart illustrating the operation of such aprocess;

FIG. 9 is an operational flow diagram of a method for gathering data inaccordance with one or more preferred embodiments of the presentinvention;

FIG. 10 is an operational flow diagram of a method for gathering data inaccordance with one or more preferred embodiments of the presentinvention;

FIG. 11 is an operational flow diagram of a process for gathering datain accordance with one or more preferred embodiments of the presentinvention;

FIG. 12 is a block diagram of the system architecture of one commercialimplementation;

FIG. 13 is a block diagram of a portion of FIG. 12;

FIG. 14 is a typical header section of an HTTP request from the clientin the commercial implementation;

FIG. 15 illustrates exemplary protocol details for a request for alocation of a login server and a subsequent response;

FIG. 16 illustrates exemplary protocol details for a login request and asubsequent response;

FIG. 17 illustrates exemplary protocol details for a submit request anda subsequent response;

FIG. 18 illustrates exemplary protocol details for a results request anda subsequent response;

FIG. 19 illustrates exemplary protocol details for an XML hierarchyreturned in response to a results request;

FIG. 20 illustrates exemplary protocol details for a text to speechrequest and a subsequent response;

FIG. 21 illustrates exemplary protocol details for a correct request;

FIG. 22 illustrates exemplary protocol details for a ping request; and

FIG. 23 illustrates exemplary protocol details for a debug request.

VII. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

As a preliminary matter, it will readily be understood by one havingordinary skill in the relevant art (“Ordinary Artisan”) that the presentinvention has broad utility and application. Furthermore, any embodimentdiscussed and identified as being “preferred” is considered to be partof a best mode contemplated for carrying out the present invention.Other embodiments also may be discussed for additional illustrativepurposes in providing a full and enabling disclosure of the presentinvention. Moreover, many embodiments, such as adaptations, variations,modifications, and equivalent arrangements, will be implicitly disclosedby the embodiments described herein and fall within the scope of thepresent invention.

Accordingly, while the present invention is described herein in detailin relation to one or more embodiments, it is to be understood that thisdisclosure is illustrative and exemplary of the present invention, andis made merely for the purposes of providing a full and enablingdisclosure of the present invention. The detailed disclosure herein ofone or more embodiments is not intended, nor is it to be construed, tolimit the scope of patent protection afforded the present invention,which scope is to be defined by the claims and the equivalents thereof.It is not intended that the scope of patent protection afforded thepresent invention be defined by reading into any claim a limitationfound herein that does not explicitly appear in the claim itself.

Thus, for example, any sequence(s) and/or temporal order of steps ofvarious processes or methods that are described herein are illustrativeand not restrictive. Accordingly, it should be understood that, althoughsteps of various processes or methods may be shown and described asbeing in a sequence or temporal order, the steps of any such processesor methods are not limited to being carried out in any particularsequence or order, absent an indication otherwise. Indeed, the steps insuch processes or methods generally may be carried out in variousdifferent sequences and orders while still falling within the scope ofthe present invention. Accordingly, it is intended that the scope ofpatent protection afforded the present invention is to be defined by theappended claims rather than the description set forth herein.

Additionally, it is important to note that each term used herein refersto that which the Ordinary Artisan would understand such term to meanbased on the contextual use of such term herein. To the extent that themeaning of a term used herein—as understood by the Ordinary Artisanbased on the contextual use of such term—differs in any way from anyparticular dictionary definition of such term, it is intended that themeaning of the term as understood by the Ordinary Artisan shouldprevail.

Furthermore, it is important to note that, as used herein, “a” and “an”each generally denotes “at least one,” but does not exclude a pluralityunless the contextual use dictates otherwise. Thus, reference to “apicnic basket having an apple” describes “a picnic basket having atleast one apple” as well as “a picnic basket having apples.” Incontrast, reference to “a picnic basket having a single apple” describes“a picnic basket having only one apple.”

When used herein to join a list of items, “or” denotes “at least one ofthe items,” but does not exclude a plurality of items of the list. Thus,reference to “a picnic basket having cheese or crackers” describes “apicnic basket having cheese without crackers”, “a picnic basket havingcrackers without cheese”, and “a picnic basket having both cheese andcrackers.” Finally, when used herein to join a list of items, “and”denotes “all of the items of the list.” Thus, reference to “a picnicbasket having cheese and crackers” describes “a picnic basket havingcheese, wherein the picnic basket further has crackers,” as well asdescribes “a picnic basket having crackers, wherein the picnic basketfurther has cheese.”

Referring now to the drawings, in which like numerals represent likecomponents throughout the several views, the preferred embodiments ofthe present invention are next described. The following description ofthe preferred embodiment(s) is merely exemplary in nature and is in noway intended to limit the invention, its application, or uses.

FIG. 1 is a block diagram of a communication system 10 in accordancewith a preferred embodiment of the present invention. As shown therein,the communication system 10 includes at least one transmitting device 12and at least one receiving device 14, one or more network systems 16 forconnecting the transmitting device 12 to the receiving device 14, and anautomatic speech recognition (“ASR”) system 18, including an ASR engine.Transmitting and receiving devices 12,14 may include cell phones 21,smart phones 22, PDAs 23, tablet notebooks 24, various desktop andlaptop computers 25,26,27, and the like, one or more of which may be ahandheld device. One or more of the devices 12,14, such as theillustrated iMac and laptop computers 25,26, may connect to the networksystems 16 via a wireless access point 28. The various transmitting andreceiving devices 12,14 (one or both types of which being sometimesreferred to herein as “client devices”) may be of any conventionaldesign and manufacture.

FIG. 2 is a block diagram of a communication system 60 in accordancewith another preferred embodiment of the present invention. This system60 is similar to the system 10 of FIG. 1, except that the ASR system 18of FIG. 1 has been omitted and the ASR engine has instead beenincorporated into the various transmitting devices 12, including cellphones 61, smart phones 62, PDAs 63, tablet notebooks 64, variousdesktop and laptop computers 65,66,67, and the like.

It will be appreciated that the illustrations of FIGS. 1 and 2 areintended primarily to provide context in which the inventive features ofthe present invention may be placed. A more complete explanation of oneor more system architectures implementing such systems is provided,elsewhere herein, in the incorporated applications and/or in theincorporated Appendices attached hereto. Furthermore, in the context oftext messaging, the communication systems 10,60 each preferablyincludes, inter alia, a telecommunications network. In the context ofinstant messaging, the communications systems 10,60 each preferablyincludes, inter alia, the Internet.

FIG. 3 is a block diagram illustrating communications between two users32,34 via a portion of the communication system 10 of FIG. 1. As showntherein, a first user 32, sometimes referred to herein as a“transmitting user,” is communicating with a second user 34, sometimesreferred to herein as a “receiving user,” by way of respectivetransmitting and receiving devices 12,14. More particularly, thetransmitting user 32 uses his transmitting device 12 to initiate textmessages that are transmitted to, and received by, the receiving user 34via her receiving device 14. In the context of text messaging, thetransmitting user 32 may send text messages, using his transmittingdevice 12, via SMS, and the receiving user 34 receives text messages,sent via SMS, on her receiving device 14. In the context of instantmessaging, the transmitting user 32 may send instant messages via an IMclient using his transmitting device 12, and the receiving user 34receives instant messages on his receiving device 14, via an IM client,using his transmitting device 12, and the receiving user 34 receivesinstant messages, via an IM client, on her receiving device 14.

In either case, the first user 32 speaks an utterance 36 into thetransmitting device 12, and the recorded speech audio is sent to the ASRsystem 18. In FIG. 3, the utterance 36 is “That man in here is a serialkiller.” The ASR engine in the ASR system 18 attempts to recognize andtranscribe the speech into text.

In at least some embodiments, the transmitting user 32 in FIG. 3 maygenerate text messages by speaking into his transmitting device 12 andcausing his utterances to be converted to text for communicating to thereceiving device 14. One or more systems and methods for carrying outsuch a process are described, for example, in the aforementioned U.S.Patent Application Pub. No. US 2007/0239837, but are at least partiallydescribed herein. More particularly, FIG. 4 may be understood to be ablock diagram of an exemplary implementation of the system 10 of FIG. 1.In this implementation, the transmitting device 12 is a mobile phone,the ASR system 18 is implemented in one or more backend servers 160, andthe one or more network systems 16 include transceiver towers 130, oneor more mobile communication service providers 140 (operating or jointor independent control) and the Internet 150. The backend server 160 isor may be placed in communication with the mobile phone 12 via themobile communication service provider 140 and the Internet 150. Themobile phone has a microphone, a speaker and a display.

A first transceiver tower 130A is positioned between the mobile phone 12(or the user 32 of the mobile phone 12) and the mobile communicationservice provider 140, for receiving an audio message (V1), a textmessage (T3) and/or a verified text message (V/T1) from one of themobile phone 12 and the mobile communication service provider 140 andtransmitting it (V2, T4, V/T2) to the other of the mobile phone 12 andthe mobile communication service provider 140. A second transceivertower 130B is positioned between the mobile communication serviceprovider 140 and mobile devices 170, generally defined as receivingdevices 14 equipped to communicate wirelessly via mobile communicationservice provider 140, for receiving a verified text message (V/T3) fromthe mobile communication service provider 140 and transmitting it (V5and T5) to the mobile devices 170. In at least some embodiments, themobile devices 170 are adapted for receiving a text message convertedfrom an audio message created in the mobile phone 12. Additionally, inat least some embodiments, the mobile devices 170 are also capable ofreceiving an audio message from the mobile phone 12. The mobile devices170 include, but are not limited to, a pager, a palm PC, a mobile phone,or the like.

The system 10 also includes software, as disclosed below in more detail,installed in the mobile phone 12 and the backend server 160 for causingthe mobile phone 12 and/or the backend server 160 to perform thefollowing functions. The first step is to initialize the mobile phone 12to establish communication between the mobile phone 12 and the backendserver 160, which includes initializing a desired application from themobile phone 12 and logging into a user account in the backend server160 from the mobile phone 12. Then, the user 32 presses and holds one ofthe buttons of the mobile phone 12 and speaks an utterance 36, thusgenerating an audio message, V1. At this stage, the audio message V1 isrecorded in the mobile phone 12. By releasing the button, the recordedaudio message V1 is sent to the backend server 160 through the mobilecommunication service provider 140.

In the exemplary embodiment of the present invention as shown in FIG. 4,the recorded audio message V1 is first transmitted to the firsttransceiver tower 130A from the mobile phone 12. The first transceivertower 130A outputs the audio message V1 into an audio message V2 thatis, in turn, transmitted to the mobile communication service provider140. Then the mobile communication service provider 140 outputs theaudio message V2 into an audio message V3 and transmits it (V3) to theInternet 150. The Internet 150 outputs the audio message V3 into anaudio message V4 and transmits it (V4) to the backend server 160. Thecontent of all the audio messages V1-V4 is identical.

The backend server 160 then converts the audio message V4 into a textmessage, T1, and/or a digital signal, D1, in the backend server 160 bymeans of a speech recognition algorithm including a grammar algorithmand/or a transcription algorithm. The text message T1 and the digitalsignal D1 correspond to two different formats of the audio message V4.The text message T1 and/or the digital signal D1 are sent back to theInternet 150 that outputs them into a text message T2 and a digitalsignal D2, respectively.

The digital signal D2 is transmitted to a digital receiver 180,generally defined as a receiving device 14 equipped to communicate withthe Internet and capable of receiving the digital signal D2. In at leastsome embodiments, the digital receiver 180 is adapted for receiving adigital signal converted from an audio message created in the mobilephone 12. Additionally, in at least some embodiments, the digitalreceiver 180 is also capable of receiving an audio message from themobile phone 12. A conventional computer is one example of a digitalreceiver 180. In this context, a digital signal D2 may represent, forexample, an email or instant message.

It should be understood that, depending upon the configuration of thebackend server 160 and software installed on the mobile phone 12, andpotentially based upon the system set up or preferences of the user 32,the digital signal D2 can either be transmitted directly from thebackend server 160 or it can be provided back to the mobile phone 12 forreview and acceptance by the user 32 before it is sent on to the digitalreceiver 180.

The text message T2 is sent to the mobile communication service provider140 that outputs it (T2) into a text message T3. The output text messageT3 is then transmitted to the first transceiver tower 130A. The firsttransceiver tower 130A then transmits it (T3) to the mobile phone 12 inthe form of a text message T4. It is noted that the substantive contentof all the text messages T1-T4 may be identical, which are thecorresponding text form of the audio messages V1-V4.

Upon receiving the text message T4, the user 32 verifies it and sendsthe verified text message V/T1 to the first transceiver tower 130A thatin turn, transmits it to the mobile communication service provider 140in the form of a verified text V/T2. The verified text V/T2 istransmitted to the second transceiver tower 130B in the form of averified text V/T3 from the mobile communication service provider 140.Then, the transceiver tower 130B transmits the verified text V/T3 to themobile devices 170.

In at least one implementation, the audio message is simultaneouslytransmitted to the backend server 160 from the mobile phone 12, when theuser 32 speaks to the mobile phone 12. In this circumstance, it ispreferred that no audio message is recorded in the mobile phone 12,although it is possible that an audio message could be both transmittedand recorded.

Such a system 10 may be utilized to convert an audio message into a textmessage. In at least one implementation, this may be accomplished byfirst initializing a transmitting device so that the transmitting deviceis capable of communicating with a backend server 160. Second, a user 32speaks to or into the client device 12 so as to create a stream of anaudio message. The audio message can be recorded and then transmitted tothe backend server 160, or the audio message can be simultaneouslytransmitted to the backend server 160 through a client-servercommunication protocol. Streaming may be accomplished according toprocesses described elsewhere herein and, in particular, in FIG. 4, andaccompanying text, of the aforementioned U.S. Patent Application Pub.No. US 2007/0239837. The transmitted audio message is converted into thetext message in the backend server 160. The converted text message isthen sent back to the client device 12. Upon the user's verification,the converted text message is forwarded to one or more recipients 34 andtheir respective receiving devices 14, where the converted text messagemay be displayed on the device 14. Incoming messages may be handled, forexample, according to processes described elsewhere herein and, inparticular, in FIG. 2, and accompanying text, of the aforementioned U.S.Patent Application Pub. No. US 2007/0239837.

Still further, in at least one implementation, one or both types ofclient device 12,14 may be located through a global positioning system(GPS); and listing locations, proximate to the position of the clientdevice 12,14, of a target of interest may be presented in the convertedtext message.

Furthermore, in converting speech to text, speech transcriptionperformance indications may be provided to the receiving user 34 inaccordance with the disclosure of U.S. patent application Ser. No.12/197,213, filed Aug. 22, 2008 and entitled “CONTINUOUS SPEECHTRANSCRIPTION PERFORMANCE INDICATION,” which, together with anycorresponding patent application publications thereof, is herebyincorporated herein by reference.

Additionally, in the context of SMS messaging, the ASR engine preferablymakes use of both statistical language models (SLMs) for returningresults from the audio data, and finite grammars used to post-processthe text results, in accordance with the disclosure of U.S. patentapplication Ser. No. 12/198,112, filed Aug. 25, 2008 and entitled“FILTERING TRANSCRIPTIONS OF UTTERANCES,” which, together with anycorresponding patent application publications thereof, is incorporatedherein by reference. This is believed to result in text messages thatare formatted in a way that looks more typical of how a human would havetyped the text message using a mobile device.

Speech recognition output may be post-processed using metadata,available to the user, in accordance with the disclosure of U.S. PatentApplication No. 61/041,219, filed Mar. 31, 2008 and entitled “USE OFMETADATA TO POST PROCESS SPEECH RECOGNITION OUTPUT,” a copy of which isattached hereto as Appendix C and is incorporated herein by reference.

The ASR system 18 transmits the text back to the originating device 12.Once this device 12 receives the transcribed text, it preferablydisplays the message to the transmitting user 32 for verification andediting as necessary, and upon approval by the user, the text may beformatted into a text message or instant message that may be transmittedto a destination communication device such as the receiving device 14described previously. If not already selected or pre-set, the user 32selects a desired phone number or other destination address stored inmemory on the transmitting device 12 or in a remote server or inputs anumber or other address via one or more input elements, and an outgoingmessage signal corresponding to the number or address is transmitted.Voice commands may be utilized to control such functionality, and such aprocess may be implemented, for example, in accordance with thedisclosure of U.S. patent application Ser. No. 12/355,319, filed Jan.16, 2009 and entitled “USING A PHYSICAL PHENOMENON DETECTOR TO CONTROLOPERATION OF A SPEECH RECOGNITION ENGINE,” which, together with anycorresponding patent application publications thereof, is incorporatedherein by reference.

FIG. 5 is a table 400 listing various possible transcription results foreach fragment or portion of the utterance 36. More particularly, “thatman,” “batman” and “hat man” are listed as possible transcriptionresults for the utterance fragment “That man;” “engineer,” “engine ear,”“in here” and “ear” are presented as possible transcription results forthe utterance fragment “in here;” “is a,” “was a” and “was uh” arelisted as possible transcription results for the utterance fragment “isa;” “cereal,” “serial,” “see real” and “surreal” are listed as apossible transcription results for the utterance fragment “serial;” and“filler,” “killer,” “biller” and “fuller” are listed as possibletranscription results for the utterance fragment “killer.” It will beappreciated that each fragment is presented in conjunction with aconfidence level, expressed as a percentage, representing the calculatedrelative confidence the ASR system 18 has that that fragment isaccurate. In FIG. 5, the possible transcription results for eachfragment or portion of the utterance 36 are presented in descendingorder of confidence. It will be further appreciated that only thoseresults in which the confidence level is 10% or above are shown in thetable 400, but that many other possible results may be considered aswell.

When transcription is complete, the fragment results having the highestconfidence levels are presented to the user 32 in the order in which theutterance fragments were spoken. In particular, for each fragment of theutterance, the fragment result having the highest confidence level ispreferably presented to the user 32 such that the overall transcribedutterance represents the most likely transcription result as measured bythe confidence levels of the respective fragment results.

If the transcribed utterance thus presented is not the one desired bythe user 32, the user 32 may then take action to edit or correct theresult. For example, the user 32 may choose to edit one or more of thefragment results. FIGS. 6A-6E are graphical depictions, on atransmitting device 12, of the transcription of the utterance 36 of FIG.3, illustrating the selection and replacement of one of the fragmentresults reached by the ASR engine for one portion of the utterance 36.In FIGS. 6A-6E, it all of the fragment results having a confidence levelof 10% or more are available to the user 32 for selection andreplacement of the corresponding portion of the transcribed utterance.In FIG. 6A, the complete transcribed utterance in which the ASR enginehas the greatest confidence is first presented to the user 32. It willbe appreciated that this proposed transcription is not accurate, in thatthe ASR engine has returned “engineer” as the most likely fragmentresult for “in here,” “cereal” as the most likely fragment result for“serial,” and “filler” as the most likely fragment result for “killer.”

In FIG. 6B, the user 32 begins correcting the transcribed utterance byselecting one of the fragment results for editing or correction. Inparticular, the user 32 has selected the utterance fragment with thefinal result “engineer” for replacement, thereby causing a drop-downmenu or list to appear. Referring again to FIG. 5, it is to beunderstood that the items in the drop-down list in FIG. 6B arepreferably the fragment results for that portion of the utterance 36that had confidence levels of 10% or more. In FIG. 6C, the user 32 hasselected one of those alternative fragment results (“in here”) toreplace the one returned by the ASR engine. In FIG. 6D, the user 32 hasgone ahead and replaced “engineer” with “in here,” producing the editedfinal result of “that man in here is a cereal filler.” By further usingthe same process to replace the final result “cereal” with “serial” andthe final result “filler” with “killer,” the user 32 is able to reachthe intended result of “that man in here is a serial killer,” as shownin FIG. 6E. Selection may be accomplished in any conventional manner,including manipulation of input keys, buttons or the like on the device12, use of a stylus or other external tool, voice activation, or thelike.

In another approach, the user 32 may be presented with all of thefragment results for all of the portions of the transcribed utterance atthe same time. FIG. 7 is a graphical depiction, on a transmitting device12, of the transcription of the utterance 36 of FIG. 3, illustrating thevarious alternatives reached by the ASR engine for each portion of theutterance 36. The final transcription result, representing the result inwhich the ASR engine has the highest confidence level, is presented atthe top. Other fragment results returned by the ASR engine for each ofthe various portions of the utterance 36 are presented beneath thehighest-confidence result. More particularly, “batman” and “hat man” arepresented as alternative fragment results for the utterance fragmentthat became “that man;” “engine ear,” “in here” and “ear” are presentedas alternative fragment results for the utterance fragment that became“engineer;” “was a” and “was uh” are presented as alternative fragmentresults for the utterance fragment that became “is a;” “serial,” “seereal” and “surreal” are presented as alternative fragment results forthe utterance fragment that became “cereal;” and “killer,” “biller” and“fuller” are presented as alternative fragment results for the utterancefragment that became “filler.”

In at least some embodiments, information about the order in which theASR engine reached the results is provided in the form of animation orvia other means, and such a process may be implemented, for example, inaccordance with the disclosure of U.S. patent application Ser. No.12/400,723, filed Mar. 9, 2009 and entitled “USE OF INTERMEDIATE SPEECHTRANSCRIPTION RESULTS IN EDITING FINAL SPEECH TRANSCRIPTION RESULTS,”which, together with any corresponding patent application publicationsthereof, is incorporated herein by reference. For example, incrementalresults may be displayed in an animated, real-time visual display, whichthen updates frequently as new information becomes available. In thisway, the user 32 is exposed to most or all of the options that the ASRengine considered during transcription and can more easily navigate tothose options, after transcription is complete, in order to select atranscription option different from the one chosen by the engine ashaving the highest confidence value. Various techniques for displayingreal time information about preliminary and intermediate transcriptionresults are described in the aforementioned patent application.

Referring again to FIG. 7, it will be appreciated that each utterancefragment or portion, and its corresponding alternate transcriptions, maybe a single word, or may be a phrase made up of multiple words. Thedrop-down lists, or any other graphical arrangement of alternatetranscription fragments, can be displayed in an animated fashion afterthe entire transcription has been received. The lists of alternatetranscription fragments can then be removed from the display leavingonly the highest-confidence results visible.

By providing the user 32 with the ability to make edits and correctionsto the results returned by the ASR engine, the system 10 gains theability to use information about the edits and corrections made by theuser 32 to update the LM(s) utilized by the ASR engine to produce thetranscription. FIG. 8 is a high-level flowchart illustrating theoperation of such a process 700. As shown therein, at least a portion ofthe process 700 begins at step 705 when the user 32 records an utterance36 and sends the recorded utterance 36 to the ASR system 18 fortranscription. At step 710, the ASR system 18 transcribes the utterance36 using the current versions of one or more acoustic model (AM) and oneor more statistical language model (LM) and then returns the transcribedutterance to the user's device. At step 715, the user edits and correctsthe transcribed utterance as desired, and at step 720 the edited andcorrected transcription is provided to a text message, voicemail, orother application. Importantly, however, at step 725 informationregarding the edits and corrections made by the user is provided to theLMs used in the transcription process, or in some cases to other LMs aswell, and at step 730 the information is used to update the LMs forfurther use, represented by the loop back to step 705.

FIGS. 9 and 10 are operational flow diagrams of methods for gatheringdata 10 in accordance with one or more preferred embodiments of thepresent invention. Each method utilizes a client device 12; however, themethods differ in that FIG. 9 illustrates a preferred method for usewith a client device 12 for which power management is desirable, such asa battery powered device, while FIG. 10 illustrates a preferred methodfor use with a client device 12 without as great of a need for powermanagement, such as a device operating on AC power.

In either method, a user's 32 speech is captured, using for example, amicrophone, at a client device 12 as an audio message. The audio messageis communicated to a remote server 40, which may or may not beassociated with the backend server 160 or even with the ASR system 18.The audio message is then processed utilizing the ASR system 18. The ASRsystem 18 transcribes the audio message into a string of text, i.e. aresult, along with an alternative result matrix. The ASR system 18communicates the result, together with the alternative result matrix,back to the remote server 40, which then communicates the result,together with the alternative result matrix, to the client device 12.The client device 12 displays the result to the user 32, who determineswhether the result is an acceptable transcription of her speech.

If the user 32 determines that the result is satisfactory, then the user32 affirms the result and the client device 12 utilizes the affirmedresult as a text string in whatever manner the user 32 desires. Theclient device 12 additionally saves the affirmed result, together withan identifier comprising the original audio message or an identifierconfigured to allow the server 40 to locate the original audio message,as a data stream. In the preferred method of FIG. 9, the data stream iscommunicated to the server 40 the next time the client device contactsthe server, while in the preferred method of FIG. 10, the data stream issent to the server 40 when the user 32, or an application running at theclient device 12, desires, via an API call.

If the user 32 determines that the result is not satisfactory, then theuser 32 either attempts to correct the result by speaking into theclient device 12 again, in which case the process will repeat, or elsethe user 32 manually corrects the result. The user 32 manually correctsthe result by either selecting an alternate result using the alternativeresult matrix, or else by typing in the text he wishes. The usercontinues this loop until he affirms a result, or manually corrects aresult. The client device 12 then utilizes the affirmed or correctedresult (“selected result”) as a text string in whatever manner the user32 desires. The client device 12 additionally saves the selected result,together with an identifier comprising the original audio message or anidentifier configured to allow the server to locate the original audiomessage, as a data stream. In the preferred method of FIG. 9, the datastream is communicated to the server 40 the next time the client devicecontacts the server, while in the preferred method of FIG. 10, the datastream is sent to the server 40 when the user 32, or an applicationrunning at the client device 12, desires, via an API call.

FIG. 11 is an operational flow diagram of a process 1010 for gatheringdata in accordance with one or more preferred embodiments of the presentinvention. First, a user device 12 transmits a data stream to a remoteserver 40. The remote server 40 either updates the LM in the ASR 18, orelse saves the data stream for later use.

It will be appreciated that automated transcription of recordedutterances 36 is useful in other environments and applications as well.For example, in another system (not separately illustrated), a userspeaks an utterance 36 into a device as a voicemail, and the recordedspeech audio is sent to the ASR system 18. In another system, a systemelement that may or may not be associated directly with the ASR system18 screens each word in a transcription for the availability ofadditional content associated with that word, and words for whichcontent is available are enabled such that when one of thecontent-available words is spoken by the user, the ASR system 18 and/orother system elements recognize the spoken word and the additionalcontent associated with that word is provided to the user, all inaccordance with the disclosure of U.S. patent application Ser. No.12/198,116, filed Aug. 25, 2008 and entitled “FACILITATING PRESENTATIONBY MOBILE DEVICE OF ADDITIONAL CONTENT FOR A WORD OR PHRASE UPONUTTERANCE THEREOF,” which, together with any corresponding patentapplication publications thereof, is incorporated herein by reference.Other applications to which the teachings of the present invention areapplicable will be apparent to the Ordinary Artisan.

COMMERCIAL IMPLEMENTATION

One commercial implementation of the foregoing principles utilizes theYap® and Yap9™ service (collectively, “the Yap service”), available fromYap Inc. of Charlotte, N.C. The Yap service includes one or more webapplications and a client device application. The Yap web application isa J2EE application built using Java 5. It is designed to be deployed onan application server like IBM WebSphere Application Server or anequivalent J2EE application server. It is designed to be platformneutral, meaning the server hardware and OS can be anything supported bythe web application server (e.g. Windows, Linux, MacOS X).

FIG. 12 is a block diagram of the system architecture of the Yapcommercial implementation. With reference to FIG. 12, the operatingsystem may be implemented in Red Hat Enterprise Linux 5 (RHEL 5); theapplication servers may include the Websphere Application ServerCommunity Edition (WAS-CE) servers, available from IBM; the web servermay be an Apache server; the CTTS servlets may include CTTS servletsfrom Loquendo, including US/UK/ES male and US/UK/ES female; the GrammarASP may be the latest WebSphere Voice Server, available from IBM;suitable third party ads may be provided by Google; a suitable thirdparty IM system is Google Talk, available from Google; and a suitabledatabase system is the DB2 Express relational database system, availablefrom IBM.

FIG. 13 is a block diagram of the Yap EAR of FIG. 12. The audio codecJARs may include the VoiceAge AMR JAR, available from VoiceAge ofMontreal, Quebec and/or the QCELP JAR, available from Qualcomm of SanDiego, Calif.

The Yap web application includes a plurality of servlets. As usedherein, the term “servlet” refers to an object that receives a requestand generates a response based on the request. Usually, a servlet is asmall Java program that runs within a Web server. Servlets receive andrespond to requests from Web clients, usually across HTTP and/or HTTPS,the HyperText Transfer Protocol. Currently, the Yap web applicationincludes nine servlets: Correct, Debug, Install, Login, Notify, Ping,Results, Submit, and TTS. Each servlet is described below in the ordertypically encountered.

The communication protocol used for all messages between the Yap clientand Yap server applications is HTTP and HTTPS. Using these standard webprotocols allows the Yap web application to fit well in a webapplication container. From the application server's point of view, itcannot distinguish between the Yap client midlet and a typical webbrowser. This aspect of the design is intentional to convince the webapplication server that the Yap client midlet is actually a web browser.This allows a user to use features of the J2EE web programming modellike session management and HTTPS security. It is also an importantfeature of the client as the MIDP specification requires that clientsare allowed to communicate over HTTP.

More specifically, the Yap client uses the POST method and customheaders to pass values to the server. The body of the HTTP message inmost cases is irrelevant with the exception of when the client submitsaudio data to the server in which case the body contains the binaryaudio data. The Server responds with an HTTP code indicating the successor failure of the request and data in the body which corresponds to therequest being made. Preferably, the server does not depend on customheader messages being delivered to the client as the carriers can, andusually do, strip out unknown header values. FIG. 14 is a typical headersection of an HTTP request from the Yap client.

The Yap client is operated via a user interface (UI), known as “Yap9,”which is well suited for implementing methods of converting an audiomessage into a text message and messaging in mobile environments. Yap9is a combined UI for SMS and web services (WS) that makes use of thebuttons or keys of the client device by assigning a function to eachbutton (sometimes referred to as a “Yap9” button or key). Execution ofsuch functions is carried out by “Yaplets.” This process, and the usageof such buttons, are described elsewhere herein and, in particular, inFIGS. 10A-10D, and accompanying text, of the aforementioned U.S. PatentApplication Pub. No. US 2007/0239837.

Usage Process—Install:

Installation of the Yap client device application is described in theaforementioned U.S. Patent Application Pub. No. US 2007/0239837 in asubsection titled “Install Process” of a section titled “SystemArchitecture.”

Usage Process—Notify:

When a Yap client is installed, the install fails, or the install iscanceled by the user, the Notify servlet is sent a message by the phonewith a short description. This can be used for tracking purposes and tohelp diagnose any install problems.

Usage Process—Login:

When the Yap midlet is opened, the first step is to create a new sessionby logging into the Yap web application using the Login servlet.Preferably, however, multiple login servers exist, so as a preliminarystep, a request is sent to find a server to log in to. Exemplaryprotocol details for such a request can be seen in FIG. 15. An HTTPstring pointing to a selected login server will be returned in responseto this request. It will be appreciated that this selection processfunctions as a poor man's load balancer.

After receiving this response, a login request is sent. Exemplaryprotocol details for such a request can be seen in FIG. 16. A cookieholding a session ID is returned in response to this request. Thesession ID is a pointer to a session object on the server which holdsthe state of the session. This session data will be discarded after aperiod determined by server policy.

Sessions are typically maintained using client-side cookies, however, auser cannot rely on the set-cookie header successfully returning to theYap client because the carrier may remove that header from the HTTPresponse. The solution to this problem is to use the technique of URLrewriting. To do this, the session ID is extracted from the session API,which is returned to the client in the body of the response. This iscalled the “Yap Cookie” and is used in every subsequent request from theclient. The Yap Cookie looks like this:

;jsessionid=C240B217F2351E3C420A599B0878371A

All requests from the client simply append this cookie to the end ofeach request and the session is maintained:

/Yap/Submit;jsessionid=C240B217F2351E3C420A599B0878371A

Usage Process—Submit:

After receiving a session ID, audio data may be submitted. The userpresses and holds one of the Yap-9 buttons, speaks aloud, and releasesthe pressed button. The speech is recorded, and the recorded speech isthen sent in the body of a request to the Submit servlet, which returnsa unique receipt that the client can use later to identify thisutterance. Exemplary protocol details for such a request can be seen inFIG. 17.

One of the header values sent to the server during the login process isthe format in which the device records. That value is stored in thesession so the Submit servlet knows how to convert the audio into aformat required by the ASR engine. This is done in a separate thread asthe process can take some time to complete.

The Yap9 button and Yap9 screen numbers are passed to the Submit serverin the HTTP request header. These values are used to lookup auser-defined preference of what each button is assigned to. For example,the 1 button may be used to transcribe audio for an SMS message, whilethe 2 button is designated for a grammar based recognition to be used ina web services location based search. The Submit servlet determines theappropriate “Yaplet” to use. When the engine has finished transcribingthe audio or matching it against a grammar, the results are stored in ahash table in the session.

In the case of transcribed audio for an SMS text message, a number offilters can be applied to the text returned from the ASR engine. Suchfilters may include, but are not limited to, those shown Table 1.

TABLE 1 Filter Type Function Ad Filter Used to scan the text andidentify keywords that can be used to insert targeted advertisingmessages, and/or convert the keywords into hyperlinks to ad sponsoredweb pages Currency Used to format currency returned from the speechFilter engine into the user's preferred format. (e.g., “one hundredtwenty dollars” -> “$120.00”) Date Filter Used to format dates returnedfrom the speech engine into the user's preferred format. (e.g., “marchfourth two thousand seven” -> “3/4/2007”) Digit Filter User to formatspelled out single digits returned from the speech engine into amulti-digit number such as a zip code (e.g., “two eight two one one” ->“28211”) Engine Used to remove speech engine words Filter Number Used toconvert the spelled out numbers returned Filter from the speech engineinto a digit based number (e.g., “one hundred forty seven” -> “147”)Obscenity Used to place asterisks in for the vowels in Filter streetslang (e.g., “sh*t”, “f*ck”, etc.) Punctuation Used to formatpunctuation Filter SMS Filter Used to convert regular words into aspelling which more closely resembles an SMS message (e.g., “don'tforget to smile” -> “don't 4get 2 :)”, etc.) TimeFilter Used to formattime phrasesNotably, after all of the filters are applied, both the filtered textand original text are returned to the client so that if text to speechis enabled for the user, the original unfiltered text can be used togenerate the TTS audio.

Usage Process—Results:

The client retrieves the results of the audio by taking the receiptreturned from the Submit servlet and submitting it as a request to theResults servlet. Exemplary protocol details for such a request can beseen in FIG. 18. This is done in a separate thread on the device and atimeout parameter may be specified which will cause the request toreturn after a certain amount of time if the results are not available.In response to the request, a block of XML is preferably returned.Exemplary protocol details for such a return response can be seen inFIG. 19. Alternatively, a serialized Java Results object may bereturned. This object contains a number of getter functions for theclient to extract the type of results screen to advance to (i.e., SMS orresults list), the text to display, the text to be used for TTS, anyadvertising text to be displayed, an SMS trailer to append to the SMSmessage, etc.

Usage Process—TTS:

The user may choose to have the results read back via Text to Speech.This can be an option the user could disable to save network bandwidth,but adds value when in a situation where looking at the screen is notdesirable, like when driving. If TTS is used, the TTS string isextracted from the results and sent via an HTTP request to the TTSservlet. Exemplary protocol details for such a request can be seen inFIG. 20. The request blocks until the TTS is generated and returns audioin the format supported by the phone in the body of the result. This isperformed in a separate thread on the device since the transaction maytake some time to complete. The resulting audio is then played to theuser through the AudioService object on the client. Preferably, TTSspeech from the server is encrypted using Corrected Block TinyEncryption Algorithm (XXTEA) encryption.

Usage Process—Correct:

As a means of tracking accuracy and improving future SMS based languagemodels, if the user makes a correction to transcribed text on the phonevia the key elements of the key input unit 74 before sending themessage, the corrected text is submitted to the Correct servlet alongwith the receipt for the request. This information is stored on theserver for later use in analyzing accuracy and compiling a database oftypical SMS messages. Exemplary protocol details for such a submissioncan be seen in FIG. 21.

Usage Process—Ping:

Typically, web sessions will timeout after a certain amount ofinactivity. The Ping servlet can be used to send a quick message fromthe client to keep the session alive. Exemplary protocol details forsuch a message can be seen in FIG. 22.

Usage Process—Debug:

Used mainly for development purposes, the Debug servlet sends loggingmessages from the client to a debug log on the server. Exemplaryprotocol details can be seen in FIG. 23.

Usage Process—Logout:

To logout from the Yap server, an HTTP logout request needs to be issuedto the server. An exemplary such request would take the form:“/Yap/Logout;jsessionid=1234”, where 1234 is the session ID.

User Preferences:

In at least one embodiment, the Yap website has a section where the usercan log in and customize their Yap client preferences. This allows themto choose from available Yaplets and assign them to Yap9 keys on theirphone. The user preferences are stored and maintained on the server andaccessible from the Yap web application. This frees the Yap client fromhaving to know about all of the different back-end Yaplets. It justrecords the audio, submits it to the server along with the Yap9 key andYap9 screen used for the recording and waits for the results. The serverhandles all of the details of what the user actually wants to havehappen with the audio.

The client needs to know what type of format to utilize when presentingthe results to the user. This is accomplished through a code in theResults object. The majority of requests fall into one of twocategories: sending an SMS message, or displaying the results of a webservices query in a list format. Notably, although these two are themost common, the Yap architecture supports the addition of new formats.

Based on the foregoing description, it will be readily understood bythose persons skilled in the art that the present invention issusceptible of broad utility and application. Many embodiments andadaptations of the present invention other than those specificallydescribed herein, as well as many variations, modifications, andequivalent arrangements, will be apparent from or reasonably suggestedby the present invention and the foregoing descriptions thereof, withoutdeparting from the substance or scope of the present invention.

Accordingly, while the present invention has been described herein indetail in relation to one or more preferred embodiments, it is to beunderstood that this disclosure is only illustrative and exemplary ofthe present invention and is made merely for the purpose of providing afull and enabling disclosure of the invention. The foregoing disclosureis not intended to be construed to limit the present invention orotherwise exclude any such other embodiments, adaptations, variations,modifications or equivalent arrangements, the present invention beinglimited only by the claims appended hereto and the equivalents thereof.

What is claimed is:
 1. A system comprising: a computing device incommunication with an electronic data store, the computing deviceconfigured to: obtain audio data comprising speech from a client device;receive an identifier of an application from the client device, whereinthe application is associated with an initial language model; generate atranscription of the speech using the initial language model; transmitthe transcription to the client device for presentation to a user;receive feedback on the transcription from the client device; and basedat least in part on the feedback, generate an updated language model,wherein the electronic data store is configured to store at least one ofthe initial language model and the updated language model.
 2. The systemof claim 1, wherein the feedback comprises at least one of anaffirmation of the transcription, a disapproval of the transcription, ora correction to the transcription.
 3. The system of claim 1, wherein thecomputing device is further configured to generate one or more alternatetranscriptions of the speech using the initial language model.
 4. Thesystem of claim 2, wherein the computing device is further configured totransmit the one or more alternate transcriptions to the client device.5. The system of claim 4, wherein the feedback comprises a selection ofan alternate transcription.
 6. The system of claim 4, wherein the one ormore alternate transcriptions each have a transcription confidence valuethat satisfies a threshold.
 7. The system of claim 1, wherein theelectronic data store is further configured to store one or morealgorithms that, when executed, implement an automatic speechrecognition engine.
 8. A non-transitory computer-readable medium havingstored thereon a computer-executable component configured to execute inone or more processors of a computing device, the computer-executablecomponent being further configured to: receive first audio datacomprising first speech; transcribe the first speech using a firstlanguage model to generate a first transcription; provide the firsttranscription to a first client device; receive feedback on the firsttranscription from the first client device; based at least in part onthe feedback on the first transcription, update the first languagemodel; select a second language model; and based at least in part on thefeedback on the transcription, update the second language model, whereinthe second language model is not used to generate the firsttranscription.
 9. The non-transitory computer-readable medium of claim8, wherein: the first audio data comprising speech is associated with auser of the first client device; and the first language model isassociated with the user of the first client device.
 10. Thenon-transitory computer-readable medium of claim 8, wherein thecomputer-executable component is further configured to: receive secondaudio data comprising second speech; and transcribe the second speechwith the updated first language model to generate a secondtranscription.
 11. The non-transitory computer-readable medium of claim8, wherein the first audio data comprising first speech is received fromthe first client device.
 12. The non-transitory computer-readable mediumof claim 8, wherein the first audio data comprising first speech isreceived from a second client device.
 13. The non-transitorycomputer-readable medium of claim 8, wherein the feedback comprises atleast one of an affirmation of the first transcription, a disapproval ofthe first transcription, or a correction to the first transcription. 14.A computer-implemented method comprising: under control of one or morecomputing devices configured with specific computer-executableinstructions, receiving audio data comprising speech from a first clientdevice; receiving an identifier of an application from the first clientdevice, wherein a first language model is associated with theapplication generating speech recognition results from the speech usingthe first language model; providing the speech recognition results tothe first client device; receiving feedback on the speech recognitionresults from the first client device; and updating the first languagemodel based at least in part on the feedback.
 15. Thecomputer-implemented method of claim 14, wherein the audio data isreceived from a second client device.
 16. The computer-implementedmethod of claim 14, wherein the speech recognition results comprise atranscription of the speech.
 17. The computer-implemented method ofclaim 16, wherein the feedback relates to at least one of a letter ofthe transcription, a syllable of the transcription, a word of thetranscription, a phrase of the transcription, or a sentence of thetranscription.
 18. The computer-implemented method of claim 16, furthercomprising: generating a transcription identifier associated with thetranscription; transmitting the identifier to the first client devicewith the transcription; and receiving the identifier from the firstclient device with the feedback on the speech recognition results. 19.The computer-implemented method of claim 14, further comprisinggenerating one or more alternative speech recognition results using thefirst language model.
 20. The computer-implemented method of claim 19,further comprising providing to the first client device an alternativespeech recognition result from the one or more alternative speechrecognition results with a confidence value that satisfies a threshold.